how to print sum of all even and odd numbers in c